package com.fosu.service;

import com.alibaba.fastjson.JSONObject;
import com.fosu.common.ResponseResult;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @ClassName FeedbackService
 * @Description TODO
 * @Author 夜天冥
 * @Date 2020/11/14 21:20
 * @Version 1.0
 */
public interface FeedbackService {
    /**
     * @Author 夜天冥
     * @Description //获取所有反馈意见  * @Date  2020/11/14
     * @Param resp HttpServlet响应对象
     * @return ResponseResult 响应对象
     **/
    ResponseResult findAllFeedback(HttpServletResponse resp);

    /**
     * @Author 夜天冥
     * @Description //保存发布的反馈意见 * @Date  2020/11/14
     * @param jsonPram JSONObject对象
     * @param resp HttpServlet响应对象
     * @return ResponseResult 响应对象
     * @throws Exception
     **/
    ResponseResult save(HttpServletResponse resp, JSONObject jsonPram)throws Exception  ;

}
